package com.yu.xcx.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yu.xcx.dto.Result;
import com.yu.xcx.entity.Blog;
import com.yu.xcx.mapper.BlogMapper;
import com.yu.xcx.service.IBlogService;
import org.springframework.stereotype.Service;

@Service
public class BlogServiceImpl extends ServiceImpl<BlogMapper, Blog> implements IBlogService {


    @Override
    public Result likeBlog(Long id) {
        //获取登陆用户
        return Result.ok();
        //判断用户是否已经点过赞
    }
}
